package com.crowd.constant;

/**
 * @author Stone
 * @date 2020/5/7 14:59
 * @description:用于放置常用的信息常量，减少打字造成的错误
 */
public class CrowdConstant {
    public static final String MESSAGE_LOGIN_FAIL = "抱歉！账号密码错误！请重新输入！";
    public static final String MESSAGE_LOGIN_ACCOUNT_ALREADY_USE = "抱歉！账号已在使用！";
    public static final String MESSAGE_LOGIN_FORBIDEN = "请登录后在访问！";
    public static final String MESSAGE_STRING_INVALIDATE = "字符串不合法！请不要传入空字符串";
    public static final String MESSAGE_SYSTEM_ERROR_LOGIN_NOT_UNIQUE = "用户不唯一！";
    public static final String MESSAGE_LOGIN_ACCT_ALREADY_IN_USE = "此账号名已被注册！";
    public static final String MESSAGE_ACCESS_DENIED = "抱歉！你没有权限访问此资源！";

    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
}
